import { request, HttpMethod, restartTimes, RequestConfig } from './request'

export const addAiPreDiagnosis = (data: object) => {
  const config = <RequestConfig>{
    url: '/patient/aiPreDiagnosis/add_diagnosis',
    method: HttpMethod.POST,
    data: data,
  }
  console.log("test",data);
  return request(config);
}